package com.github.zhangsken.libcrashreport;

import android.app.Application;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.util.Log;

public class CRApplication extends Application {
    public static final String TAG = CRApplication.class.getSimpleName();
    CrashHandler mCrashHandler;
    
    @Override
    public void onCreate()
    {
        super.onCreate();  
        mCrashHandler = CrashHandler.getInstance();  
        mCrashHandler.init(CRApplication.this);
        Thread.setDefaultUncaughtExceptionHandler(mCrashHandler); 
    }
}
